package com.xyht.sca_s.student_manage_system.modules.agreement.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-06-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_agreement_application")
@ApiModel(value="SmsAgreementApplication对象", description="")
public class SmsAgreementApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "项目发起单位（部门）")
    private String projectUnit;

    @ApiModelProperty(value = "组织id")
    private String organizationId;

    @ApiModelProperty(value = "合同编号")
    private String projectContractNum;

    @ApiModelProperty(value = "送审时间")
    private String projectCheckTime;


    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "合作单位")
    private String cooperationUnit;

    @ApiModelProperty(value = "合作方联系人")
    private String cooperationContacts;

    @ApiModelProperty(value = "合作方电话")
    private String cooperationPhone;

    @ApiModelProperty(value = "事由及依据")
    private String reasonPursuant;

    @ApiModelProperty(value = "项目业务摘要")
    private String projectAbstract;

    @ApiModelProperty(value = "项目金额")
    private String projectAmount;

    @ApiModelProperty(value = "项目期限")
    private String projectTerm;

    @ApiModelProperty(value = "支付方式")
    private String projectPayWay;

    @ApiModelProperty(value = "项目发起单位意见")
    private String projectOpinion;

    private String sign;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "审批状态：0：审批中，1：通过，2：驳回，3：撤销")
    private Integer allowStatus;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    private Integer isDeleted;

    private String applicationApplyUserId;

    @ApiModelProperty(value = "附件")
    private String annex;
}
